* {
  padding: 0;
  margin: 0;
}

.box {
  width: 100%;
  height: 100%;
}

.box header {
  width: 100%;
  height: 12%;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}

.box header button {
  margin-right: 2%;
}

.box main {
  width: 100%;
  height: 80%;
  padding: 2% 0;
  display: flex;
}

.box main .left {
  width: 40%;
  height: 96%;
}

.box main .rigth {
  width: 60%;
  height: 96%;
  position: relative;
  padding-top: 3%;
}

.box main .rigth .bell {
  position: absolute;
  height: 50px;
  top: 0;
  right: 1%;
  z-index: 99;
  display: flex;
  align-items: center;
}

.box main .rigth .bell img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-left: 10px;
}

.box main .rigth .bell p {
  background: #fbf0b4;
  padding: 10px;
  border-radius: 15px 15px 0 15px;
  font-size: 12px;
}

.box main .rigth .chat {
  width: 90%;
  height: 90%;
  transform: translate(0, 7%);
  margin-left: 5%;
  border-radius: 10%;
  padding: 5%;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
}

.box main .rigth .chat.image1 {
  background: #fff;
}

.box main .rigth .chat.image2 {
  background: gray;
}

.box main .rigth .chat .chat-context {
  margin: 10px 0;
  line-height: 30px;
  color: #fff;
  font-size: 14px;
  display: flex;
}

.box main .rigth .chat .chat-context.user {
  justify-content: flex-end;
}

.box main .rigth .chat .chat-context.user span {
  background: #187f01;
  display: inline-block;
  padding: 5px 10px;
  border-radius: 10px 10px 0 10px;
  max-width: 70%;
}

.box main .rigth .chat .chat-context.ai {
  justify-content: flex-start;
}

.box main .rigth .chat .chat-context.ai span {
  background: #000;
  display: inline-block;
  padding: 5px 10px;
  border-radius: 10px 10px 10px 0;
  max-width: 70%;
}

.box main .rigth video {
  width: 90%;
  height: 90%;
  margin: 5%;
}

.box footer {
  width: 100%;
  height: 8%;
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}

.box footer .center {
  height: 80px;
  width: 80px;
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -90%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.box footer .center.talk1 {
  background-image: url(/src/assets/image/speaking.jpeg);
}

.box footer .center.talk2 {
  background-image: url(/src/assets/image/speeching.gif);
}

.box footer .center.inp {
  width: 200px;
  transform: translate(-50%, -60%);
}

.box footer .right {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  margin-right: 2%;
}

.box footer .right.answers {
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.box footer .right.answers.image1 {
  background-image: url(/src/assets/image/answer-model.svg);
  cursor: pointer;
}

.box footer .right.answers.image2 {
  background-image: url(/src/assets/image/answer-icon.svg);
  cursor: pointer;
}

.box footer .right.chat {
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.box footer .right.chat.image1 {
  background-image: url(/src/assets/image/chat-model.svg);
  cursor: pointer;
}

.box footer .right.chat.image2 {
  background-image: url(/src/assets/image/chat-model-active.svg);
  cursor: pointer;
}

.box .btn {
  position: fixed;
  bottom: 0%;
  right: 50%;
  transform: translate(50%, 0);
}
